using System.Data.Objects.DataClasses;

namespace ZhiHeng.Consume.DataContract
{
    public partial class @operator : EntityObject
    {
        private string _str;
        
        public string TypeStr
        {
            get
            {
                //try
                //{
                //    _str = StaticDicdictionary.TreeDicdictionary.First(p => p.Code == this.OperType).Name;

                //}
                //catch
                //{

                //}
                return _str;
            }
            set
            {
                _str = value;
                OnPropertyChanged("TypeStr");
            }
        }
    }
}